package com.mingdao.lhy.mapper.wish;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.mingdao.lhy.pojo.MiddleSchool;

@Mapper
@Repository(value = "middleSchoolMapper")
public interface MiddleSchoolMapper {

	List<MiddleSchool> list();
	
	List<MiddleSchool> listByXsdm(String xsdm);

	MiddleSchool getOne(String id);

	int deleteByPrimaryKey(Long id);

	int insert(MiddleSchool record);

	int insertSelective(MiddleSchool record);

	MiddleSchool selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(MiddleSchool record);

	int updateByPrimaryKey(MiddleSchool record);

	int updatePasswordByPrimaryKey(MiddleSchool middleSchool);

}